Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p { max-width: 20%; background-color: yellow; } </style> </head> <body> <p>This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_dim_max-width_percent by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:27 GMT --> </html>
Result:
Try it Yourself - © w3schools.com